package com.example.dell.wisdom_farm.pojo;

import android.os.Parcel;
import android.os.Parcelable;

public class model implements Parcelable {

//    图片名称
    private  String image_name;
//    副标题名称
    private  String image_state;
//    标题
    private String image_title;


    public model (String image_name,String image_state,String image_title){
        this.image_name=image_name;
        this.image_state=image_state;
        this.image_title=image_title;
    }


    protected model(Parcel in){
        image_name=in.readString();
        image_state=in.readString();
        image_title=in.readString();
    }

    public static final  Creator<model> CREATOR=new Creator<model>() {
        @Override
        public model createFromParcel(Parcel in) {
            return new model(in);
        }


        @Override
        public model[] newArray(int size) {
            return new model[size];
        }
    };
    @Override
    public int describeContents(){
        return 0;
    }
    @Override
    public void writeToParcel(Parcel dest,int flags){
        dest.writeString(image_name);
        dest.writeString(image_state);
        dest.writeString(image_title);
    }
    public String getImage_name(){return image_name;}
    public String getImage_state(){return image_state;}
    public String getImage_title(){return image_title;}

}
